package com.sky.quartz.task;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @Auther: tianchao
 * @Date: 2024/8/11 14:35
 * @Description:
 */
@Component
public class MyTask {
    public void showTime(){
        System.out.println("定时任务开始执行：" + new Date());
    }
}
